tab1 = {};
tab2 = {
    val1 = "val1",
    -- "val2" = "value2",
    -- 3 = "val3"
};
tab3 = { "Extra", "djyx", "zyy" };
print(tab1);
print(tab2.val1);
print(tab3[2])

-- 求阶乘Demo

n = 4;
function fact(n)
    if n == 1 then
        return n;
    else
        return n * fact(n - 1);
    end
end
print(fact(n));
-- for a in 10 do
--     print(a);
-- end
